package com.example.wechat_applet.mapper;

import com.example.wechat_applet.pojo.Role;
import com.example.wechat_applet.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Xiri
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-09-13 18:42:51
* @Entity com.example.wechat_applet.pojo.User
*/
public interface UserMapper extends BaseMapper<User> {
	public List<Role> haveRole(@Param("uid")Integer id);
}




